let $ = layui.jquery;
let jQuery=$;
let SettingData = {};//配置文件参数
let SeleteData = {};//筛选参数
let current =1;
let raw = '';//排序
let InitData={};
let table_config = {
    "header": {
        "button": [
            {
                "title": "新增",
                "icon": "icon-add-bold",
                "btn_class": "btn_theme_1",
                "is_drop": 2,
                "type": "window",
                "url": "/ruinuo/app/add/",
                "where": null,
                "width": 0,
                "height": 0,
                "node": "ruinuo:app:add"
            }
        ],
        "tab": [],
        "search": {
            "datetime": [],
            "like": "应用名称|应用编码"
        },
        "sum": []
    },
    "left": {
        "status": 2,
        "title": "应用",
        "options_id": null,
        "key_field": "id",
        "show_field": "name",
        "field": "app_id",
        "type": 2,
        "url": {
            "title": "",
            "list": "/common/options/leftlists/?num=",
            "add": "",
            "edit": "",
            "delete": "",
            "width": "",
            "height": ""
        }
    },
    "source": "",
    "table": {
        "button": [
            {
                "title": "修改",
                "icon": "icon-edit",
                "btn_class": "btn_theme_1",
                "is_drop": 2,
                "type": "window",
                "url": "/ruinuo/app/edit/?id={id}",
                "where": null,
                "width": 0,
                "height": 0,
                "node": "ruinuo:app:edit"
            },
            {
                "title": "删除",
                "icon": "icon-ashbin",
                "btn_class": "btn_theme_2",
                "is_drop": 2,
                "type": "ajax",
                "url": "/ruinuo/app/delete/?id={id}",
                "where": null,
                "width": 0,
                "height": 0,
                "node": "ruinuo:app:delete"
            }
        ],
        "style": 1,
        "parent_id": "111",
        "parent_name": "title",
        "limit": 30,
        "tab_sum": "",
        "page": true,
        "elem": "datatable",
        "height": "full-85",
        "update": "/ruinuo/app/update_field/",
        "url": "/ruinuo/app/index/",
        "cols": [
            {
                "id": "1713173698_1_1",
                "align": "",
                "field": "name",
                "group": "",
                "title": "应用名称",
                "select": "",
                "update": "",
                "options": "",
                "position": "center"
            },
            {
                "id": "1713173699_1_2",
                "field": "num",
                "title": "应用编码",
                "update": ""
            },
            {
                "id": "1713238901_1_2",
                "field": "notes",
                "title": "备注"
            },
            {
                "id": "1713238902_1_3",
                "field": "create_time",
                "title": "新增时间",
                "width": 160,
                "minWidth": 160
            }
        ]
    }
};
let form_config = {
    detail:'/ruinuo/app/detail/',
    add:'/ruinuo/app/add/',
    edit:'/ruinuo/app/edit/',
    data:{
    "name": "",
    "num": "",
    "notes": ""
},
    label_width:'',
    form_label:'form_right',
    onclick:[],
};
